package com.entity;

import javax.persistence.Table;
import java.io.Serializable;

@Table(name = "t_role_source")
public class Role2Source implements Serializable {

    private Long roleId;
    private Long sourceId;


    public Role2Source(Long roleId, Long sourceId) {
        this.roleId = roleId;
        this.sourceId = sourceId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Long getSourceId() {
        return sourceId;
    }

    public void setSourceId(Long sourceId) {
        this.sourceId = sourceId;
    }
}